#include "Bullet3Common/b3QuadWord.h"
#ifdef __cplusplus
extern "C" {
#endif
b3QuadWord* bullet_Newb3QuadWord(){
	b3QuadWord* wrap_out = new b3QuadWord();
	return wrap_out;
}

b3QuadWord* bullet_Newb3QuadWord1(float* _x,float* _y,float* _z){
	b3Scalar const& c_arg__x=(b3Scalar const&)(*_x);
	b3Scalar const& c_arg__y=(b3Scalar const&)(*_y);
	b3Scalar const& c_arg__z=(b3Scalar const&)(*_z);
	b3QuadWord* wrap_out = new b3QuadWord(c_arg__x,c_arg__y,c_arg__z);
	return wrap_out;
}

b3QuadWord* bullet_Newb3QuadWord2(float* _x,float* _y,float* _z,float* _w){
	b3Scalar const& c_arg__x=(b3Scalar const&)(*_x);
	b3Scalar const& c_arg__y=(b3Scalar const&)(*_y);
	b3Scalar const& c_arg__z=(b3Scalar const&)(*_z);
	b3Scalar const& c_arg__w=(b3Scalar const&)(*_w);
	b3QuadWord* wrap_out = new b3QuadWord(c_arg__x,c_arg__y,c_arg__z,c_arg__w);
	return wrap_out;
}

float* bullet_b3QuadWord_getX(b3QuadWord* c_this){
	b3Scalar const& c_out = c_this->getX();
	float* wrap_out = (float*)(&c_out);
	return wrap_out;
}

float* bullet_b3QuadWord_getY(b3QuadWord* c_this){
	b3Scalar const& c_out = c_this->getY();
	float* wrap_out = (float*)(&c_out);
	return wrap_out;
}

float* bullet_b3QuadWord_getZ(b3QuadWord* c_this){
	b3Scalar const& c_out = c_this->getZ();
	float* wrap_out = (float*)(&c_out);
	return wrap_out;
}

void bullet_b3QuadWord_setMax(b3QuadWord* c_this,b3QuadWord* other){
	b3QuadWord const& c_arg_other=(b3QuadWord const&)(*other);
	c_this->setMax(c_arg_other);
}

void bullet_b3QuadWord_setMin(b3QuadWord* c_this,b3QuadWord* other){
	b3QuadWord const& c_arg_other=(b3QuadWord const&)(*other);
	c_this->setMin(c_arg_other);
}

void bullet_b3QuadWord_setValue(b3QuadWord* c_this,float* _x,float* _y,float* _z){
	b3Scalar const& c_arg__x=(b3Scalar const&)(*_x);
	b3Scalar const& c_arg__y=(b3Scalar const&)(*_y);
	b3Scalar const& c_arg__z=(b3Scalar const&)(*_z);
	c_this->setValue(c_arg__x,c_arg__y,c_arg__z);
}

void bullet_b3QuadWord_setValue1(b3QuadWord* c_this,float* _x,float* _y,float* _z,float* _w){
	b3Scalar const& c_arg__x=(b3Scalar const&)(*_x);
	b3Scalar const& c_arg__y=(b3Scalar const&)(*_y);
	b3Scalar const& c_arg__z=(b3Scalar const&)(*_z);
	b3Scalar const& c_arg__w=(b3Scalar const&)(*_w);
	c_this->setValue(c_arg__x,c_arg__y,c_arg__z,c_arg__w);
}

void bullet_b3QuadWord_setW(b3QuadWord* c_this,float _w){
	b3Scalar c_arg__w=_w;
	c_this->setW(c_arg__w);
}

void bullet_b3QuadWord_setX(b3QuadWord* c_this,float _x){
	b3Scalar c_arg__x=_x;
	c_this->setX(c_arg__x);
}

void bullet_b3QuadWord_setY(b3QuadWord* c_this,float _y){
	b3Scalar c_arg__y=_y;
	c_this->setY(c_arg__y);
}

void bullet_b3QuadWord_setZ(b3QuadWord* c_this,float _z){
	b3Scalar c_arg__z=_z;
	c_this->setZ(c_arg__z);
}

#ifdef __cplusplus
}
#endif
